package com.bibi.hanshunping.clouse04;

import java.util.Scanner;

public class Input {
    public static void main(String[] args) {
        Scanner io = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int n = io.nextInt(); // 如果输入的值不是整数，抛出异常 InputMismatchException
        System.out.println(n);
    }
}
